<?php $options = WP_Solr::get_cached_options(); ?>
<?php $post_meta = WP_Solr::get_post_meta(); ?>
<?php wp_nonce_field( WP_Solr::$plugin_path, WP_Solr::SLUG . '_nounce' ); ?>

<label><input <?php echo ( (int) $post_meta === 1 ) ? 'checked="checked"': ''; ?>name="wp_solr_index" type="checkbox" /><?php _e('Show in search results', WP_Solr::TEXT_DOMAIN); ?></label>
<input type="hidden" name="wp_solr_index_change" value="<?php echo (int) $post_meta ?>" />